﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageCompany.master" AutoEventWireup="true" CodeFile="BoardAddbyc.aspx.cs" Inherits="Company_BoardAddbyc" Title="问题反馈列表" %>
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 2px">
                <img src="../images/intro_left.gif" width="4" height="34" />
            </td>
            <td class="intro_wordbg">
                问题反馈列表
            </td>
            <td background="../images/intro_bg.gif" align="left">
                <img src="../images/intro_right.jpg" width="118" height="34" />
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
               标题
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="txtbox_200" InvertedComma="标题"></asp:TextBox>
            </td>
            <td class="td_left_20">
                是否回复：
            </td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstExplainState" runat="server">
                <asp:ListItem Value="1">已答复</asp:ListItem>
                 <asp:ListItem Value="0">未答复</asp:ListItem>
                  <asp:ListItem Value="3">全部</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <asp:Button ID="Button6" runat="server"  Text="查  询" CssClass="button_80"
                    OnClientClick="javascript:return CheckForm();" />
                <input type="submit" name="btnSubmit" value="删除" class="button_80" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"
                    id="Submit1" />
                <a target="_blank" href='BoardAdd.aspx'>
                    添加问题</a>
            </td>
        </tr>
    </table>
    <asp:DataList ID="DlAttorney" runat="server" Width="100%" CssClass='table_table'
        HeaderStyle-CssClass='table_title'>
        <ItemStyle CssClass="table_td" />
        <AlternatingItemStyle CssClass="table_td2" />
        <HeaderTemplate>
            <table width='100%'>
                <tr>
                    <td class="td_DataListHead" width="30%">
                        标题
                    </td>
                    <td class="td_DataListHead" width="30%">
                        提问内容
                    </td>
                    <td class="td_DataListHead" width="8%">
                        提问时间
                    </td>
                    <td class="td_DataListHead" width="8%">
                        回复人
                    </td>
                    <td class="td_DataListHead" width="8%">
                        回复时间
                    </td>
                    <td class="td_DataListHead" width="8%">
                       查看回复
                    </td>
                    <td class="td_DataListHead" width="5%">
                        删除
                    </td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table width="100%">
                <tr>
                    <td width="30%" class="td_DataListContent_left">
                        <%# DataBinder.Eval(Container.DataItem, "Title")%>
                    </td>
                    <td width="30%" class="td_DataListContent_left">
                        <%# DataBinder.Eval(Container.DataItem, "Content")%>
                    </td>
                    <td width="10%" class="td_DataListContent_center">
                        <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "CreateDate")).ToString("yyyy-MM-dd")%>
                    </td>
                    <td width="5%" class="td_DataListContent_center">
                        <%# DataBinder.Eval(Container.DataItem, "dname")%>
                    </td>
                    <td width="10%" class="td_DataListContent_center">
                        <%# DataBinder.Eval(Container.DataItem, "AnswerDate")%>
                    </td>
                    <td width="10%" class="td_DataListContent_center">
                        <a target="_blank" href='BoardEdit.aspx?id=<%# MsgBox.JiaMiobj_Encrypt(DataBinder.Eval(Container.DataItem, "ID"))%>'>
                            查看 </a>
                    </td>
                    <td width="5%" class="td_DataListContent_center">
                        <input name="chk" type="checkbox" value='<%# DataBinder.Eval(Container.DataItem, "ID")%>'>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>
